package com.iengoo.inductionms.mapper;

import com.iengoo.inductionms.entity.Department;

import java.util.List;


public interface DepartmentMapper {
    int insert(Department record);

    int insertSelective(Department record);

    //根据部门简称查询部门人员编号计数和部门编号
    Department queryDepartmentNumAndCode(String documentSimple);

    List<Department> query();
    //根据部门编号修改部门人员数量
    void updateByCode(Department department);
}